package demo.data;

public class Car {
	private String id, brand,  color;
	private Integer year, price;
	private Boolean soldstate;
	public Car(String randomId, String randomBrand, int rdYear, String randomColor, int RdPrice, Boolean RdState) {
		this.id = randomId;
		this.brand = randomBrand;
		this.year = rdYear;
		this.color = randomColor;
		this.price = RdPrice;
		this.soldstate = RdState;
	}

	public Car() {

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}


	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Boolean getSoldstate() {
		return soldstate;
	}

	public void setSoldstate(Boolean soldstate) {
		this.soldstate = soldstate;
	}

}